infile=serverMain.cpp logger.cpp common.cpp xmlParse.cpp server.cpp parseMessage.cpp
outfile=serverMain 
flags=-std=c++11 -g -lxml2 -I/usr/local/include/libxml2 -L/usr/local/libxml2 -llog4cxx 


$(outfile):$(infile)
	g++ $(infile) -o $@ $(flags) 

.PHONY:clean 
clean:
	rm -rf $(outfile)
